package edu.sctu.xiangkun.day201505.day20150510.textnum;

/**
 * Created by user21 on 2015/5/10.
 */
public class TextTwo {
    public int sum=0;
    public TextFour getNumber (TextThree textthree){

        for(int i=1;i<=textthree.size;i++){
        sum+=i;
        }

        TextFour textfour = new TextFour();
        textfour.number = sum;
        return textfour;

    }
}
